﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DataProvider
{

    private static DataProvider m_Instance = new DataProvider();
    public static DataProvider Instance { get { return m_Instance; } }

    public int Level { get { return PlayerPrefs.GetInt("Level"); } }

    public string GetValue(string key)
    {
        return PlayerPrefs.GetString(key);
    }

    public int hp { get { return Level * 50; } }
    public int attack { get { return Level * 30; } }

}